Skip to content

Conversation

@RainingCodes
Copy link
Contributor

The Android mlc4j build fails because tvm-ffi renamed traceback.cc to backtrace.cc. Replace the stale include with <ffi/backtrace.cc>.

This is the minimal change to restore build without touching other code. (Using a .cc file in headers is generally discouraged, but this keeps the current structure intact and unblocks builds.)

  • Change: #include <ffi/traceback.cc> -> #include <ffi/backtrace.cc>
  • Scope: android/mlc4j/src/cpp/tvm_runtime.h
  • Verified: local Android build succeeds

The Android mlc4j build fails because tvm-ffi renamed `traceback.cc` to
`backtrace.cc`. Replace the stale include with <ffi/backtrace.cc>.

This is the minimal change to restore build without touching other code.
(Using a .cc file in headers is generally discouraged, but this keeps the
current structure intact and unblocks builds.)

- Change: #include <ffi/traceback.cc> -> #include <ffi/backtrace.cc>
- Scope: android/mlc4j/src/cpp/tvm_runtime.h
- Verified: local Android build succeeds
Copy link
Member

@MasterJH5574 MasterJH5574 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @RainingCodes for the fix!

@MasterJH5574 MasterJH5574 merged commit 400fe34 into mlc-ai:main Oct 22, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants